home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / CIncludes / Packages.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-12  |  1.7 KB  |  87 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Packages.h
  3.  
  4.      Contains:    Package Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1985-1997, 1995, 1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18. #ifndef __PACKAGES__
  19. #define __PACKAGES__
  20.  
  21. #ifndef __TYPES__
  22. #include <Types.h>
  23. #endif
  24.  
  25.  
  26.  
  27. #if PRAGMA_ONCE
  28. #pragma once
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. #if PRAGMA_IMPORT
  36. #pragma import on
  37. #endif
  38.  
  39. #if PRAGMA_STRUCT_ALIGN
  40.     #pragma options align=mac68k
  41. #elif PRAGMA_STRUCT_PACKPUSH
  42.     #pragma pack(push, 2)
  43. #elif PRAGMA_STRUCT_PACK
  44.     #pragma pack(2)
  45. #endif
  46.  
  47.  
  48. enum {
  49.     listMgr                        = 0,                            /* list manager */
  50.     dskInit                        = 2,                            /* Disk Initializaton */
  51.     stdFile                        = 3,                            /* Standard File */
  52.     flPoint                        = 4,                            /* Floating-Point Arithmetic */
  53.     trFunc                        = 5,                            /* Transcendental Functions */
  54.     intUtil                        = 6,                            /* International Utilities */
  55.     bdConv                        = 7,                            /* Binary/Decimal Conversion */
  56.     editionMgr                    = 11                            /* Edition Manager */
  57. };
  58.  
  59. EXTERN_API( void )
  60. InitPack                        (short                     packID)                                ONEWORDINLINE(0xA9E5);
  61.  
  62. EXTERN_API( void )
  63. InitAllPacks                    (void)                                                        ONEWORDINLINE(0xA9E6);
  64.  
  65.  
  66.  
  67. #if PRAGMA_STRUCT_ALIGN
  68.     #pragma options align=reset
  69. #elif PRAGMA_STRUCT_PACKPUSH
  70.     #pragma pack(pop)
  71. #elif PRAGMA_STRUCT_PACK
  72.     #pragma pack()
  73. #endif
  74.  
  75. #ifdef PRAGMA_IMPORT_OFF
  76. #pragma import off
  77. #elif PRAGMA_IMPORT
  78. #pragma import reset
  79. #endif
  80.  
  81. #ifdef __cplusplus
  82. }
  83. #endif
  84.  
  85. #endif /* __PACKAGES__ */
  86.  
  87.